package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ObuEf04Mapper;
import com.ruoyi.system.domain.ObuEf04;
import com.ruoyi.system.service.IObuEf04Service;

/**
 * Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-01-03
 */
@Service
public class ObuEf04ServiceImpl implements IObuEf04Service 
{
    @Autowired
    private ObuEf04Mapper obuEf04Mapper;

    /**
     * 查询
     * 
     * @param id 主键
     * @return 
     */
    @Override
    public ObuEf04 selectObuEf04ById(Long id)
    {
        return obuEf04Mapper.selectObuEf04ById(id);
    }

    @Override
    public ObuEf04 selectObuEf04ByB4Id(Long id)
    {
        return obuEf04Mapper.selectObuEf04ByB4Id(id);
    }

    /**
     * 查询列表
     * 
     * @param obuEf04 
     * @return 
     */
    @Override
    public List<ObuEf04> selectObuEf04List(ObuEf04 obuEf04)
    {
        return obuEf04Mapper.selectObuEf04List(obuEf04);
    }

    /**
     * 新增
     * 
     * @param obuEf04 
     * @return 结果
     */
    @Override
    public int insertObuEf04(ObuEf04 obuEf04)
    {
        return obuEf04Mapper.insertObuEf04(obuEf04);
    }

    /**
     * 修改
     * 
     * @param obuEf04 
     * @return 结果
     */
    @Override
    public int updateObuEf04(ObuEf04 obuEf04)
    {
        return obuEf04Mapper.updateObuEf04(obuEf04);
    }

    /**
     * 批量删除
     * 
     * @param ids 需要删除的主键
     * @return 结果
     */
    @Override
    public int deleteObuEf04ByIds(Long[] ids)
    {
        return obuEf04Mapper.deleteObuEf04ByIds(ids);
    }

    /**
     * 删除信息
     * 
     * @param id 主键
     * @return 结果
     */
    @Override
    public int deleteObuEf04ById(Long id)
    {
        return obuEf04Mapper.deleteObuEf04ById(id);
    }
}
